package com.zh.service.Imp;

import com.zh.dao.demoDao;
import com.zh.service.demoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class demoServiceImp implements demoService {
    @Autowired
    private demoDao demoDao;

    @Override
    public void add() {
        System.out.println("demoServiceImp-----save  ");
        demoDao.save();
    }
}
